#ifndef INCLUDED_jax_JArray
#define INCLUDED_jax_JArray

#ifndef HXCPP_H
#include <hxcpp.h>
#endif

HX_DECLARE_CLASS1(jax,JArray)
HX_DECLARE_CLASS1(jax,JValue)
namespace jax{


class JArray_obj : public hx::Object{
	public:
		typedef hx::Object super;
		typedef JArray_obj OBJ_;
		JArray_obj();
		Void __construct(int len);

	public:
		static hx::ObjectPtr< JArray_obj > __new(int len);
		static Dynamic __CreateEmpty();
		static Dynamic __Create(hx::DynamicArray inArgs);
		~JArray_obj();

		HX_DO_RTTI;
		static void __boot();
		static void __register();
		void __Mark(HX_MARK_PARAMS);
		void __Visit(HX_VISIT_PARAMS);
		::String __ToString() const { return HX_CSTRING("JArray"); }

		int length; /* REM */ 
		Array< ::jax::JValue > arr; /* REM */ 
		virtual Dynamic iterator( );
		Dynamic iterator_dyn();

		static ::jax::JArray ofArray( Array< ::jax::JValue > arr);
		static Dynamic ofArray_dyn();

};

} // end namespace jax

#endif /* INCLUDED_jax_JArray */ 
